<%@ include file="/include/head.jsp"%>
<html>
  <head>
    <title>tset Extjs</title>
    <script type="text/javascript">
    	Ext.onReady(function(){
			Ext.get('fx').applyStyles({  
position: "absolute",  
top: 200,  
left: 300}).highlight("0000ff"/*起始颜色*/,  
{  
attr: 'background-color', /*我们改变的是背景颜色*/  
duration: 2,/*动画持续时间*/  
endColor: "ff0000" /*结束颜色*/  
}  
);  
    	
    	alert(window.screen.availHeight);
    	
    	
    	});
    </script>
  </head>
  
  <body>
  	<div id="fx"><h1>test</h1></div>
  	<div id="fx1"><h1>aaaa</h1></div>
  </body> 
</html>
